package com.koron.order.overhaul.mapper;

import com.koron.order.overhaul.bean.entity.OverhaulOrderItemBean;
import com.koron.order.overhaul.bean.query.OverhaulOrderItemQuery;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * (OverhaulOrderItemMapper)表数据库访问层
 *
 * @author twcao
 * @since 2021-09-29 09:49:26
 */
public interface OverhaulOrderItemMapper {

    OverhaulOrderItemBean queryById(String id);

    List<OverhaulOrderItemBean> queryList(OverhaulOrderItemQuery query);

    int saveOrUpdate(List<OverhaulOrderItemBean> items);

    int deleteByOrderId(@Param("orderId") String orderId);

    int hiddenByOrderId(@Param("orderId") String orderId);

}
